Multilevel security apparatus and method

ABSTRACT

A card-encoding system and method preserves the security of the encoding process against duplication and counterfeiting of cards by securing the interactions under the control of the individual and then of the issuing institution. Multilevels of offset codes are generated in successive interactions so that attempted alteration, duplication, or counterfeiting of a coded card will be readily detectable using &#34;off-line&#34; card-checking apparatus. An &#34;active&#34; card is initially issued or authorized with an established credit balance, and its authenticity, balance, and proper use are continuously checked, debited and updated in each authorized transactions completed by the proper individual. A card or other data-carrying medium may be verified as authentic and unaltered, and the identity of an authorized individual assigned to the card may be verified by initially recording an offset on the card and by subsequently comparing the recorded offset with an offset regenerated from the same data used initially.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a continuation-in-part application of pending application Ser. No. 118,584, now U.S. Pat. No. 4,304,990, entitled MULTILEVEL SECURITY APPARATUS AND METHOD, filed Feb. 4, 1980, by Martin M. Atalla, which is a continuation-in-part application of pending application Ser. No. 102,858, now U.S. Pat. No. 4,328,414 entitled MULTILEVEL SECURITY APPARATUS AND METHOD, filed Dec. 11, 1979, by Martin M. Atalla.

BACKGROUND OF THE INVENTION

Retailing businesses and banking institutions are currently suffering substantial financial losses due to unauthorized use of credit cards in the conduct of business at the consumer level. The problem of detecting counterfeit credit cards and unauthorized users of valid cards prior to completion of credit-card transactions has not been effectively solved to date. Banking institutions which are equipped with card-operated banking equipment are generally able to detect an attempted unauthorized use of a credit card because such banking equipment is conveniently connected to the institution's central processor and computer files for "on-line" operation of the equipment at each step in a credit-card transaction. However, the great majority of credit-card transactions by retailers around the world is usually completed in amounts under set credit limits without the convenience of "on-line" computer checking of each step in the transaction. Instead, simple "off-line" credit-card checking techniques are used which are based upon a comparison of the card number against a compiled listing of numbers of unauthorized cards and a visual check of a user's signature against a sample signature. Such lists of numbers of unauthorized cards are largely ineffective in reducing credit losses because of the delay in compiling and distributing the lists, and because such lists do not identify valid cards that have been reproduced or counterfeit cards that bear fictitious numbers.

Even inherently more secure transactions which are controlled by "on-line" interactive computer processing are subject to security violations resulting from insufficiently secured procedures used in issuing cards initially. Unscrupulous personnel within a card-issuing institution may compromise the security of an "on-line" card-operated, computer-controlled system, for example, by causing issuance of a card with an account or identification number that was previously assigned.

SUMMARY OF THE INVENTION

In accordance with the present invention, method and means are provided for securing card-oriented transactions at several levels of interaction between a card-issuing institution, its personnel, its customers and even its suppliers of blank cards. The present invention provides enhanced security against the duplication and proliferation of one valid card and against counterfeit cards with fictitious numbers by securing the interactive transaction between an individual and the institution upon establishment of the individual's new account, as well as securing the transaction involved at the institutional level in issuing the card to the individual. In addition, the present invention operates to secure the card against duplication in instances where each issued card has a unique identification. In this way, the individual may be assured that his interaction with the card-issuing institution is secured and that the institution's interactions with its personnel and its suppliers of cards are secured. Further, the present invention operates to establish an "active" card which is initially issued or authorized with an established credit balance, and which is progressively checked for authenticity and debited in each authorized transaction. Verification processes are performed on both the authorized individual and an authorized card to establish authenticity of both before the card-oriented transaction is allowed to proceed.

DESCRIPTION OF THE DRAWINGS

FIG. 1 is an illustration of the system involved in issuing a card and in using an issued card in an "off-line" card-checking transaction;

FIG. 2 is a flow chart illustrating the information supplied to and produced by the apparatus of the present invention;

FIG. 3 is a block diagram of the apparatus of the present invention for issuing cards to specific individuals in a manner that preserves a high degree of security at all levels of interaction;

FIG. 4 is a block diagram showing a variable-offset "active" card system according to the present invention;

FIG. 5 is a flow chart illustrating the process of authenticating and updating the "active" card in accordance with the invention of FIG. 4;

FIGS. 6 and 7 are schematic diagrams of embodiments of the invention which check authenticity of a record-member or card;

FIG. 8 is a block diagram of an encryption key-generating apparatus; and

FIGS. 9 and 10 are flow charts illustrating the operation of the illustrated embodiments of FIGS. 6 and 7.

DESCRIPTION OF THE PREFERRED EMBODIMENT

Referring now to FIG. 1, there is shown a pictorial and schematic diagram of the system of the present invention which operates on the personal identification number (PIN) of an individual (selected and known only by the individual), and on identification information furnished by an operator of the system to generate a credit card 9 which is unique to the individual and which is secured against unauthorized preparation or counterfeiting through multilevels of secured interactions.

In the initial sign-on transaction, an individual may select any code word or set of numbers, or combination thereof, which he may preserve in total secrecy and which he enters 11 initially into the system via any conventional means such as a keyboard, telephone dial apparatus, or the like. In addition, an operator of the system enters an assigned account number 13 (and also identifies himself using his own identification word or number). Optionally, the identification number of the institution (e.g., route and transit number of a bank, etc.) may also be furnished 15. Thus, the individual's secret identifying code (PIN) 11 plus all or an initial part of the new account number 13, plus any desired identification information pertaining to the institution, is supplied to an encoding device 17 for irreversible encryption of the data to generate a first compiled code word, or OFFSET I at the output 19 of the encoding device 17. The encoding device 17 may include a conventional National Bureau of Standards (NBS) data-encryption integrated circuit (commercially available from Motorola, Inc.) having multiple inputs for encoding the signals applied thereto, and may be operated according to a known irreversible algorithm (for example, as disclosed in U.S. Pat. No. 3,938,091 and in U.S. Patent Application Ser. No. 879,784) to yield an OFFSET I of fixed length for any length of applied code words. This initial encryption may be performed on an isolated encrypting device to produce OFFSET I for transmission by conventional means to the next encoding means 23. Thus, the first level of interaction between the institution and the individual which produces the OFFSET I is secured by the individual who retains the secrecy of his own PIN.

At the next level of interaction, the institution is able to secure the transaction against unauthorized operation of the system by unscrupulous personnel. The institution may perform a number of checks and inquiries, as later described, relative to the authority of the system operator, the status of the assigned account number, etc., prior to encoding in the encoding means 23 the new account number, the OFFSET I and a secret identification key 21 that is unique to the institution. Upon successful completion of checks and inquiries by the institution, the encoding means 23 (for example, including an aforementioned NBS circuit) may encrypt the applied data according to an algorithm of the type described in the aforementioned U.S. Pat. No. 3,938,091 or U.S. Pat. No. Application Ser. No. 879,784, or the like, to yield a new compiled code word or OFFSET II at the output 25 of the encoding means 23. This OFFSET II may be stored in files, for example, computer memory, printed lists, or the like, for later use with respect to transactions involving the individual and his card 9. Thus, the second level of interaction which produces OFFSET II required to produce a secured card 9 is under the security and control of the institution which may perform numerous checks and inquiries, later described herein, and which also retains the secrecy of its own secret key 21.

In many applications, the OFFSET II may be used directly to prepare a card 9 by encoding the card 9 magnetically, optically, mechanically, etc., in known manner with the account number and OFFSET II. Subsequent use of the card 9 thus produced in connection with a secured transaction would require entry of the individual's PIN 11 at the time of a transaction, the account number 13 (omitting an operator's I.D.), the bank I.D. 15 and the bank secret key 21, all in the manner previously described to produce an OFFSET II according to the same algorithms and encryption schemes used in the initial sign-on transaction, which OFFSET II could then be compared in known manner with the OFFSET II detected from the card 9 as the basis for determining whether the authorized individual who is unique to the card 9 is attempting to complete a transaction.

However, in certain applications requiring an additional level of secured interaction, the present invention may be used to ensure that no valid card can be duplicated. Thus, the supplier or actual issuer of cards (i.e., where different from the entity that generates OFFSETS I and II) may introduce an additional level of secrecy in producing the card 9. Each card 9 may be produced with a unique code or serial number which is different for each card. This unique code or serial number may be permanently implanted in each card mechanically, optically, magnetically, or the like, for subsequent detection by card transducer 27. The card serial number 29 thus detected is applied to encoding means 31 which may also contain an NBS circuit of the type previously described, for encrypting with OFFSET II and the account number in a known manner (for example, in accordance with the encryption algorithm disclosed in the aforecited U.S. Pat. No. 3,938,091 or U.S. Pat. Application Ser. No. 879,784) to produce a compiled code word, or OFFSET III at the output 33. A fully encoded card 9 may now be produced by card transducer 27 which can produce a record thereon mechanically, optically, magnetically, or the like, in known manner (but without altering the card serial number) from OFFSET III, the account number, and optional data 35 such as expiration date, access restrictions, credit limits, etc. The OFFSET III which may be of fixed length and which is unique for one card, one individual and one bank, may be recorded on the card 9 in location preceding the account number for subsequent detection and comparison during completion of a secured transaction. Movement of a card 9 through card transducer 27 suffices to detect the serial number 29 of the card, and movement again (say, in the opposite direction) suffices to make the aforementioned recordings on the card 9 that are unique to the individual and institution.

During the completion of a subsequent secured transaction using the card 9, the authorized individual may enter his PIN 11 and his own assigned account number, and submit his card 9 for detection of its serial number and the recorded OFFSET III thereon. Substantially the same encryption of applied codes (except for the identifying code of a system operator during initial sign-on) may be completed to produce an OFFSET III for comparison with the OFFSET III detected from the card 9. Upon detection of parity of the newly-generated OFFSET III with the OFFSET II read out from the card 9, the transaction may be completed with respect to the individual whose PIN 11 was entered. Other subsequent code comparisons involving a recorded card 9 may also be performed using less than such full "on-line" checking capability, for example, under circumstances where the serial number of the card is implanted therein by secret means (as in certain European banking systems). Under such circumstances, the OFFSET II may be recorded on the card 9 for encoding "off-line" only with similar means as encoding means 31 upon the individual's entered account number and the OFFSET II and card serial number detected from the card. The OFFSET III thus produced must compare favorably with the OFFSET III read out from the card 9 to signal an authorized transaction.

Referring now to FIG. 2, there is shown a flow chart of the present invention which illustrates the logic expansion thereof for the protection of the institution at the aforementioned second level of interaction. Note that several checks and inquiries may be completed relative to the institution's operating personnel prior to generating the OFFSET II. For example, the institution may check the identification number 16 of the system operator against its file information to ensure that only its authorized personnel can operate the system. Upon successful completion of the first check, the operator's authority to assign an account number 18 may be checked against file information. Upon successful completion of this check, then account information may be checked 20 to determine, for example, that the assigned account number is one which the institution previously set up to be assigned. Also, the institution may check file information to ensure that a previously-assigned valid account number is not reassigned to another individual as well. Numerous other checks and inquiries may be made by the institution consistent with the security objectives it endeavors to meet and prior to encrypting in encoding means 23 the OFFSET I 19, the secret key 21 and account number, as previously described, to generate the OFFSET II.

Referring now to FIG. 3, there is shown a block diagram of the apparatus for operation according to FIGS. 1 and 2. The initial level of interaction with an individual newly signing on may be performed by an encrypting module 11, 13, 15, 17 having one keyboard upon which the individual may enter his PIN secretly and another keyboard upon which an operator or teller may enter an account number. The module may also have a bank identification number (e.g., route and transit number) included therein for encoding with the keyboard-supplied information. Such modules and their operation are described in the literature (see, for example, U.S. Pat. No. 3,938,091 and U.S. patent application Ser. No. 879,784). Using an irreversible encryption algorithm of the type described, the module produces an OFFSET I of fixed word length independently of the length of the applied PIN and account number and bank identification number, and therefore preserves the security of the PIN for the assigned account number. The OFFSET I can be conveniently transmitted without security to the next station where an operator authorized to issue cards may complete the initial sign-on of an individual. Using a keyboard with display 24 coupled to a processor with memory files 26 in conventional configuration, an operator may enter his identification number and the OFFSET I and the account number for controlling the processor 26 to perform the initial check and inquiry and the subsequent encryption in encoding module 23, as described in connection with FIG. 2. The secrecy of the bank key 21 may be preserved by retaining it in volatile manner within the encoding module 23, 31. Thereafter, the processor 26 may control the card transducer 27 to detect the secretly and permanently recorded serial number on a card and to control the encoding module 23, 31 (may be the same module time shared) to produce and record the OFFSET III from the OFFSET II and the card detected serial number. In this way, the institution may complete the assignment of a recorded card 9 to an individual using the apparatus at diverse locations without compromising the security against card duplication and counterfeiting which the present system provides to the individual, the institution and even the card-issuing entity.

Referring now to the diagram of FIG. 4 and the flow chart of FIG. 5, there is illustrated a simplified method and means of operating an "active" credit card terminal in accordance with the present invention. As in the previous embodiment, each credit card 9 has a unique parameter such as an optical or magnetic mark, or code number, which is permanent and unalterable in the card, and which can be read by card transducer 27. Such a credit card 9 may be "activated" for a specific individual with an initial balance by supplying to the encryption module 41 via keyboard 42 a bank identification number, an account number for the individual, his own personal identification number (PIN) and his initial deposit, or balance. In addition, the card transducer 27 is capable of sensing the unique parameter of the particular credit card that is assigned to the individual, and that unique parameter is also supplied to the encryption module 41. One or more levels of encryption may be performed in conventional manner or as described above under control of one or more encryption key codes K₁, K₂, etc., (which may represent the bank number) to produce an offset_(A) 43 which is unique for that individual with that credit card and that particular credit balance in his account. This offset_(A) 43, along with the other information about the bank, the account number, and the credit balance are then recorded or encoded in volatile manner (as on a conventional magnetic stripe) on the particular credit card 9 as it is moved through the card transducer 27. The card is now available to be used at the same or other similar terminals in connection with credit-card-controlled transactions.

When the credit card 9 is to be used in connection with a card-controlled transaction, it is sensed by the card transducer 27 to read therefrom the bank number, account number, credit balance, and the unique parameter of the card, and this information is supplied to the encryption module 41 along with the PIN supplied by the individual via a keyboard 42. The encryption module 41 operates in identically the same manner as previously described when the card was prepared under control of one or more encryption key codes K₁, K₂, etc., to produce an offset_(A), at its output. This output is compared in comparator 45 with the offset_(A) that is read from the card by card transducer 27. Favorable comparison of these two offsets indicates that the card is authentic, the proper individual is using it and the credit balance is unaltered (and may be displayed as desired when read from the card, not shown). An unfavorable comparison of the two offsets means one or more of the bank number, account number, balance, credit card parameter, offset_(A) or PIN has been altered, and the card-controlled transaction can be halted.

Where a new transaction is to take place following favorable comparison of the two offsets, the data involved which affects the account balance (such as a deposit or a debit) is supplied to an arithmetic unit 47 for calculating a new balance_(B). This new balance_(B) 49 is supplied to the encryption module 41 along with all the other information that is present upon reading data from the card, plus the individual's PIN, for producing a new offset_(B) 43 for that balance_(B) in the same manner as when the card was prepared initially. The new balance_(B) and the new offset_(B) associated therewith are recorded on the card 9 via card transducer 27 for the next use of the card in the same manner using the same or similar terminal equipment.

In another embodiment of the present invention, as illustrated in the schematic diagram of FIG. 6 and in the flow chart of FIG. 9, an "active" card may be examined for authenticity in substantially the same manner as the authority of an individual is checked. As previously stated, credit card 9 has a unique parameter associated therewith which is permanent and unalterable and different for each card and which can be sensed by card transducer 27. In addition to magnetic or optical means for establishing the card parameter, as previously described, a semiconductor memory circuit chip may be incorporated into the body of card 9 and have electrical contacts associated therewith brought out to an edge of the card 9 for initial establishment therein of a unique nonvolatile code in the semiconductor memory (e.g., a Programmable Read-Only Memory) and for subsequent detection of the parameter, i.e., the unique code in memory. Such a credit card 9 may be "activated" for a specific individual with a specific account number by initially encoding on the card, either in clear text or in encrypted form, the specific account number and any sensitive data such as expiration date, credit limit, number of card-oriented transactions allowed per day, etc., simply by passing the card 9 through a transducer 27 which, for example, magnetically records such information on magnetic stripes on the card in known manner. Of course, the card 9 may be any record-bearing medium such as a passport, bank draft, invoice, waybill, etc., which contains sensitive data and which can be encoded with a unique, unalterable code and with sensitive data.

The unique parameter associated with card 9 (i.e., Card Identification Number), the account number and the sensitive data, and the like, may then be sensed or detected by transducer 27 as the card is passed therethrough. At least the CIN and the account number information from the card 9 are supplied to an encryption module 51 which also receives a bank identification code as an encryption key and generates therefrom an irreversibly encrypted OFFSET I of fixed digit length (say, eight digits) in a known manner, for example, as described in U.S. Pat. No. 4,198,619. This OFFSET I_(CIN) may be combined with the sensitive data from the card 9 to provide the input format at one input of an encryption module 53 which may include a conventional NBS integrated circuit of the type previously described. The other input to the encryption module 53 receives a base key 54, generated in a manner later described, to produce the encrypted Data Authorization Code output 55 for the particular card 9. In an initial transaction to "activate" the card 9 for a particular individual, the card transducer 27 receives the DAC output 55 and records the same on the card in a conventional manner which is subsequently detectable (e.g., magnetic stripe recording, optical data recording, etc.).

Thereafter, during a subsequent card-oriented transaction, at any similar card terminal, the card 9 can be verified or authenticated as carrying unaltered sensitive information, DAC, CIN, account number, etc., simply by passing the card 9 through the transducer 27 which senses the DAC and the sensitive information from the card. The same encryptions in module 51 and 53 of CIN, account number, and sensitive information, as previously described, may be performed to yield a present DAC code which should compare favorably, in the absence of any alterations, with the DAC sensed directly from the card 9 when both codes are applied to comparator 57. Unfavorable comparison may be used to control selective retention of a suspicious card 9.

In another embodiment of the present invention, as shown in the schematic diagram of FIG. 7 and the flow chart of FIG. 10, such a card 9 may be "activated" for a specific individual having a specific PIN. As previously described, the card 9 may be initialized by applying thereto during a pass through the transducer 27 such information as account number, and sensitive data such as credit limits, expiration date, number of card-oriented transactions allowed per day, etc. The card 9 may then be passed through the transducer 27 to provide transducer output signals 59 which represent the CIN and account number sensed or detected from the card 9. In an initial operating cycle of the irreversible encryption module 51, the CIN and account number are applied to the encryption module 51 for irreversible encryption therein with the bank identification number in the manner, for example, described in the aforecited U.S. Pat. No. 4,198,619, to produce a first OFFSET I_(CIN) which may be stored in register 61. Then, in a subsequent operating cycle of the module 51 (or separate module), the individual's PIN and account number may be entered via keyboard 63 for irreversible encryption in module 51 to produce a second OFFSET I_(PIN) which may be stored in register 65. The OFFSETS stored in register 61 and 65 may be combined with the account number or sensitive data from the individual or the card in suitable format (e.g., OFFSET I_(PIN) +account number+OFFSET I_(CIN)) for application to one input of the encryption module 53. The other input of module 53 receives a base key 54 from a key code generator, later described, and produces a logically encoded OFFSET II or Data Authorization Code therefrom. This OFFSET II is applied to the card 9 via transducer 27 in an initial transaction to "activate" the card 9 for the particular individual for later code comparisons in similar card terminals. During a subsequent card-oriented transaction at the same or similar card terminal, the OFFSET II or DAC produced by module 53, as previously described, may be compared in comparator 57 with the OFFSET II or DAC sensed from the card 9 by transducer 27 for regulating the progress of such card-oriented transaction upon favorable comparison, or for selectively retaining a suspicious card upon unfavorable comparison.

The base key 54 may be produced in accordance with the illustrated embodiment of FIG. 8. A transform module 67 of conventional design may be connected to receive the OFFSET I (for CIN or PIN, or both) at the output of module 51 in FIG. 6 or from registers 61, 65 in FIG. 7 to produce therefrom an address code for a read-only memory unit 69. This unit may contain in addressable memory locations any suitable key data codes desired to use as one input to a data-encryption standard module 53' (e.g., module 53 operating in time-shared relationship or a separate similar module). The other input of module 53' receives a secret key code 71 which may be known only to limited few individuals in the card-issuing institution so that the base key code 54 produced thereby for use in the encryption module 53 of FIG. 6 or 7 is well secured with an extremely high degree of immunity from unauthorized deciphering or intrusion. Cards 9 thus initialized with OFFSET II or DAC may be conveniently used as a portable data file of sensitive data associated with a particular card-using individual. Once the OFFSET II or DAC comparison is completed, the card-oriented transaction may proceed and effectively result in alteration of data carried on the card 9 (e.g., credit available, account balance, time and date of transaction, etc.). Such "off-line" card terminal-controlled transactions may thus be completed at separate locations with substantially complete immunity from alteration or duplication of the card, the sensitive data, and the possible substitution of an unauthorized individual. 

I claim:
 1. The method of verifying a transaction-controlling medium having data and a unique code associated therewith, comprising the steps of:(a) sensing the unique code associated with the medium; (b) sensing a first portion of the data associated with the medium; (c) encrypting the sensed unique code and sensed first portion of the data in logical combination with a first encoding key to produce a first offset code; (d) sensing a second portion of the data associated with the medium; (e) encrypting the first offset code and a sensed second portion of the data in logical combination with a second encoding key to produce a data authorization code; and (f) initializing the medium by recording the data authorization code thereon for subsequent sensing thereof and comparison with a data-authorization code produced according to steps (a), (b), (c), (d) and (e) above.
 2. The method according to claim 1 wherein:the step of sensing a first portion of the data includes sensing an account number with which the medium is associated; and the step of sensing a second portion of the data includes sensing information pertaining to limitations associated with such account number for transactions controlled by the medium.
 3. The method of verifying the authority of an individual having an identifying code and of the authenticity of a transaction-controlling medium assigned thereto, where the medium has data and a unique code associated therewith, comprising the steps of:(a) sensing the unique code associated with the medium; (b) sensing the data associated with the medium; (c) encrypting the sensed data and sensed unique code in logical combination with a first encoding key to produce a medium offset code; (d) encrypting the data and the identifying code received from the individual in logical combination with said first encoding key to produce an individual offset code; (e) encrypting the medium offset code, the individual offset code and the data in logical combination with a second encoding key to produce a data-authorization code; and (f) initializing the medium by recording the data-authorization code thereon for subsequent sensing thereof and comparison with a data-authorization code produced according to steps (a), (b), (c), (d) and (e) above.
 4. The method according to claim 1 or claim 3 wherein said second encoding key is produced by:logically encoding at least one of the first and second offsets to produce an address code; storing key data at selected addressable locations, each having an address code; and encrypting key data accessed from an addressable location selected by said address code in logical combination with an encryption key to produce said second encoding key.
 5. Apparatus for operating on a transaction-controlling medium having data and a unique code associated therewith, the apparatus comprising:first transducer means for sensing the unique code associated with the medium; second transducer means for sensing first and second portions of the data associated with the medium; first encryption means having an input for receiving a first encoding key and another input for receiving the sensed first portion of the data for encrypting the sensed unique code and sensed first portion of the data in logical combination with a first encoding key to produce a first offset code; and second encryption means having an input for receiving a second encoding key and having another input for receiving a selected combination of the first offset code and second portion of data for encrypting the first offset code and a sensed second portion of the data in logical combination with a second encoding key to produce a data-authorization code which is representative of the authenticity of said medium.
 6. Apparatus according to claim 5 comprising means responsive to said data-authorization code and operative with said medium to record thereon the data-authorization code.
 7. Apparatus according to claim 5 for verifying a transaction-controlling medium having a data-authorization code recorded thereon comprising:sensing means operative with said medium for sensing the data-authorization code recorded thereon; and comparator means coupled to receive the sensed data-authorization code and the data-authorization code from the second encryption means for comparing said codes to produce output indication representative of the authenticity of said medium.
 8. Apparatus for verifying the identity of an individual and the authenticity of a transaction-controlling medium which is assigned to the individual and which has data and a unique code associated therewith, the apparatus comprising:means operative with the medium for sensing the unique code and data associated therewith; first encryption means having an input for receiving a first encryption key and having another input for receiving a selected combination of the sensed unique code and data associated with the medium for encrypting the sensed data and sensed unique code in logical combination with a first encoding key to produce a medium offset code; second encryption means having an input for receiving a first encryption key and having another input for receiving a selected combination of the data and the identifying code from the individual for encrypting the data and the identifying code received from the individual in logical combination with said first encoding key to produce an individual offset code; third encryption means having an input for receiving a second encoding key and having another input for receiving a selected combination of the medium offset code, the data and the individual offset code for encrypting the medium offset code, the individual offset code and the data in logical combination with a second encoding key to produce a data-authorization code which is representative of the authenticity of the medium and of the authority of the individual to complete the transaction.
 9. Apparatus according to claim 8 comprising means responsive to said data-authorization code and operative with said medium to record thereon the data-authorization code.
 10. Apparatus according to claim 8 for verifying the identity of an individual and the authenticity of a transaction-controlling medium which is assigned to the individual and which has a data-authorization code recorded thereon, the apparatus comprising:sensing means operative with said medium for sensing the data-authorization code recorded thereon; and comparator means coupled to receive the sensed data-authorization code and the data-authorization code from the third encryption means for comparing said codes to produce an output indication representative of the identity of the individual and the authenticity of said medium. 